{if !isset($ajax)}
<div class="boxShoutbox">
	<div class="headerTitle"><h3>Shout box</h3></div>
    <div class="shoutboxItem" id="shoutbox">
	{/if}
    	<div id="scrollPane" class="scroll-pane">
        {if $arrShoutbox}
            <ul>
                {foreach item=item from=$arrShoutbox}
                    <li>
                    	{image userid=$item.userid viewid=$AppUI->id tip=1 small=2 class="border25 lFloat"}
                        <p><span class="point">&nbsp;</span>{$item.content|str_emoticon} <span class="gray">({$item.postdate|convert_date})</span></p>
                 	</li>
                {/foreach}
            </ul>
       	{else}
        	<div class="notContent">Hãy gửi đến cộng đồng {$smarty.const.DOMAIN_NAME} lời chào của bạn.</div>
        {/if}
        </div>
	{if !isset($ajax)}
    </div>
    <form name="frmShoutbox" id="frmShoutbox" method="post" action="" enctype="multipart/form-data">  
    	<input type="hidden" id="sbDefault" name="sbDefault" value="{$arrDefault.msg}" />   
        {comment name="pcontent" default=$arrDefault.msg}
    </form>
    <div class="bot">&nbsp;</div>
</div>
{/if}
